<table>
    <thead>
        <tr>
	   	    <g:sortableColumn property="id" title="Id" titleKey="productCategory.id" />
	   	    <th><g:message code="productCategory.product" default="Product" /></th>
	   	    <th><g:message code="productCategory.category" default="Category" /></th>
        </tr>
    </thead>
    <tbody>
    <g:each in="${productCategoryInstanceList}" status="i" var="productCategoryInstance">
        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
            <td><g:link action="show" id="${productCategoryInstance.id}">${fieldValue(bean: productCategoryInstance, field: "id")}</g:link></td>
            <td>${fieldValue(bean: productCategoryInstance, field: "product")}</td>
            <td>${fieldValue(bean: productCategoryInstance, field: "category.recordType")},${fieldValue(bean: productCategoryInstance, field: "category")}</td>
        </tr>
    </g:each>
    </tbody>
</table>
